package com.eascs.afterloan.entity;

import java.io.Serializable;

import javax.persistence.*;

import com.eascs.admin.common.utils.EntityToStringUtils;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the o2o_loanapply_overdue database table.
 * 
 */
@Entity
@Table(name="o2o_loanapply_overdue")
@NamedQuery(name="O2oLoanapplyOverdue.findAll", query="SELECT o FROM O2oLoanapplyOverdue o")
public class O2oLoanapplyOverdue extends EntityToStringUtils implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="bill_code")
	private String billCode;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	@Column(name="create_user_name")
	private String createUserName;

	@Column(name="create_user_no")
	private String createUserNo;

	@Column(name="is_delete")
	private String isDelete;

	@Column(name="loan_bank_name")
	private String loanBankName;

	@Column(name="loan_user_name")
	private String loanUserName;
	
	@Column(name="loan_operer")
	private String loanOperer;

	@Column(name="loanapply_no")
	private String loanapplyNo;

	@Column(name="overdue_interest")
	private BigDecimal overdueInterest;

	@Column(name="overdue_principal")
	private BigDecimal overduePrincipal;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="overdue_time")
	private Date overdueTime;

	@Column(name="overdue_total")
	private BigDecimal overdueTotal;

	@Column(name="penalty_total")
	private BigDecimal penaltyTotal;

	private String province;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;

	public O2oLoanapplyOverdue() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUserName() {
		return this.createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateUserNo() {
		return this.createUserNo;
	}

	public void setCreateUserNo(String createUserNo) {
		this.createUserNo = createUserNo;
	}

	public String getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getLoanBankName() {
		return this.loanBankName;
	}

	public void setLoanBankName(String loanBankName) {
		this.loanBankName = loanBankName;
	}

	public String getLoanUserName() {
		return this.loanUserName;
	}

	public void setLoanUserName(String loanUserName) {
		this.loanUserName = loanUserName;
	}

	public String getLoanapplyNo() {
		return this.loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public BigDecimal getOverdueInterest() {
		return this.overdueInterest;
	}

	public void setOverdueInterest(BigDecimal overdueInterest) {
		this.overdueInterest = overdueInterest;
	}

	public BigDecimal getOverduePrincipal() {
		return this.overduePrincipal;
	}

	public void setOverduePrincipal(BigDecimal overduePrincipal) {
		this.overduePrincipal = overduePrincipal;
	}

	public Date getOverdueTime() {
		return this.overdueTime;
	}

	public void setOverdueTime(Date overdueTime) {
		this.overdueTime = overdueTime;
	}

	public BigDecimal getOverdueTotal() {
		return this.overdueTotal;
	}

	public void setOverdueTotal(BigDecimal overdueTotal) {
		this.overdueTotal = overdueTotal;
	}

	public BigDecimal getPenaltyTotal() {
		return this.penaltyTotal;
	}

	public void setPenaltyTotal(BigDecimal penaltyTotal) {
		this.penaltyTotal = penaltyTotal;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getLoanOperer() {
		return loanOperer;
	}

	public void setLoanOperer(String loanOperer) {
		this.loanOperer = loanOperer;
	}

}